package com.ruleengine.instruction.impl;

import com.ruleengine.instruction.InstructionType;

public class CallWorkflowInstruction extends BaseInstruction {
    private String target;
    private String targetType;
    
    public CallWorkflowInstruction() {
        super(InstructionType.CALLWORKFLOW);
        this.synchronize = false;
    }

    public String getTarget() {
        return this.target;
    }

    public void setTarget(String target) {
        this.target = target;
    }
    
    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    @Override
    public String toString() {
        return "{" + super.toString() + "," + targetType + ":" + target + "}";
    }

}
